﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using STT.Admin.UserControls;

namespace STT.Admin
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["idpage"] != null)
            {
                PlaceHolder.Controls.Clear();
                if (Request.QueryString["idpage"] == "1")
                    PlaceHolder.Controls.Add(LoadControl("UserControls/ucTrangChu.ascx"));
                if (Request.QueryString["idpage"] == "10")
                    PlaceHolder.Controls.Add(LoadControl("UserControls/ucKhoaHoc.ascx"));
            }
        }
    }
}